package com.party.service.sys;

import com.party.common.Page;
import com.party.model.SysUser;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: Administrator
 * Date: 13-3-31
 * Time: 下午3:15
 * To change this template use File | Settings | File Templates.
 */
public interface SysUserService {
    /**
     * 获取用户列表
     *
     * @param sysUser
     * @param pageSize
     * @param pageNumber
     * @return
     */
    public Page getUserList(SysUser sysUser, int pageSize, int pageNumber);

    public int add(SysUser sysUser);

    public int del(String ids);

    public SysUser getUser(int uid);

    public SysUser getUser(SysUser sysUser);

    public int changePwd(SysUser sysUser);
    public int update(SysUser sysUser);


    public List<SysUser> getUserListBylOne(SysUser sysUser);


    public List<SysUser> getAllUsers();
}
